using IcsSEMCtrl.Event.Device;
using Lifter.Global;
using System;
namespace Lifter.Event.Lifter
{
    [Serializable]
    public class SCStateModeEvent : DeviceEvent
    {
        public static readonly string CLASS = "SCStateModeEvent";
        public static readonly string SPECIFIC_SUBJECT = "SCState";
        public new static readonly string SUBJECT = DeviceEvent.SUBJECT + "." + SCStateModeEvent.SPECIFIC_SUBJECT;
        private enumSCStateMode sCStateMode;
        public enumSCStateMode SCStateMode
        {
            get
            {
                return this.sCStateMode;
            }
            set
            {
                this.sCStateMode = value;
            }
        }
        public SCStateModeEvent(string deviceId, string deviceType, enumSCStateMode sCStateMode) : base(deviceId, deviceType)
        {
            this.sCStateMode = sCStateMode;
        }
        protected new string CreateSubject(string id)
        {
            return SCStateModeEvent.FormSubject(id);
        }
        public new static string FormSubject(string id)
        {
            return SCStateModeEvent.SUBJECT + "." + id;
        }
    }
}
